package com.itheima.huikebackend.mapper;

import com.itheima.huikebackend.entity.SysDept;
import com.itheima.huikebackend.vo.DeptViewVO;
import org.apache.ibatis.annotations.Mapper;

import java.util.List;

/**
 * @author iTaotao
 * @version 1.0
 * @date 2023/08/07 23:10:12
 */
@Mapper
public interface SysDeptMapper {
    SysDept selectDeptInfoById(Long deptId) ;

    List<DeptViewVO> selectTree(long parentId);
}
